package com.example.edu_sugar.mapper;

import org.apache.ibatis.annotations.Select;

//封装数据返回
public interface CourseMapper {
    // 每天的用户评价评分
    @Select("select sum(mark_sum) as markScore" +
            "from dws_interaction_course_user_review_window " +
            "where toYYYYMMDD(stt) = #{date};")
    Long markScore(int date);

}
